Print two-byte characters on a gate ticket

To print two-byte characters (including non-Western unicode characters, such as those used in written Chinese, Hebrew, or Arabic) with Windows, you must:

  1. Reconfigure any existing XSL Transforms for Gate documents (on page 1).

  1. Create a new document type (on page 1) for the appropriate locale.

Old document types and transactions still appear in the previous locale, even if you re-print them.

  1. Update business tasks (on page 1) with the document type and associate the business tasks with the appropriate Gate Transaction type (on page 1), if they are not already configured.

  2. Additionally, all printers you want to print two-byte characters with must use the PDF Printer Driver. You can set the printer driver in the printer definition on the Printer form (on page 1). If you select any other printer driver, unicode characters do not appear correctly.

Navis does not guarantee support for two-byte character printing on Linux.

 

Critical Actions for new printer drivers

If you change locale to take advantage of the new character sets, remember that localized documents are individually saved to the database. The changed locale only applies to new gate transactions, and does not apply to any existing gate transactions. If you print the old document type or a previous gate transaction, you will see the localized text for the locale you used when you created or processed that document or gate transaction, regardless of your current locale.

Critical Action:

Who is affected

Details

All customers printing gate tickets, regardless of localization or operating system, must update their XSL layout templates to meet the requirements of the new library.

In the XSL layout template, <table-cell> and <table-row>, which could previously be empty, now must contain values. The <table-cell> element should now read:

<fo:table-cell>

<fo:block/>

</fo:table-cell>

 

The  <table-row> element should read:

<fo:table-row>

<fo:table-cell>

<fo:block/>

</fo:table-cell>

</fo:table-row>

If you use the Windows operating system, all localized strings must include the font-family attribute

You can apply the font to each block, or specify the same font for the whole document. To specify one font for the whole document, apply the font in the <page-sequence> element under root. For example, to use a font from the SimSun family, you might update to:

<fo:root>

<fo:layout-master-set>

<fo:simple-page-master master-name="simple" margin-top="1in" margin-bottom="1in" margin-left="0.75in" margin-right="0.75in">

<fo:region-body />

</fo:simple-page-master>

</fo:layout-master-set>

<fo:page-sequence master-reference="simple" font-family="SimSun">

The font you choose must be available from C:\Windows\Fonts.

If you are changing document text to a new locale, you must create a new document type for the locale when you change to a new locale.

Printing a previously-created document does not display the localized text for the current locale.

If you use the Windows operating system and need to print two-byte characters (including Chinese, Hebrew, or Arabic) on Gate tickets, you must use the PDF printer drivers.

Edit printers to select PDF from the Printer Driver list of values on the Printer form (on page 1).

Navis does not support printing non-western unicode characters for gate ticket printing with other printer drivers or operating systems.